package STUDENT.TranNamAnh.OOPs.baitapmang.quanlymuonsach.Controller;

import STUDENT.TranNamAnh.OOPs.baitapmang.quanlymuonsach.Entity.Books;
import STUDENT.TranNamAnh.OOPs.baitapmang.quanlymuonsach.Entity.Guests;
import STUDENT.TranNamAnh.OOPs.baitapmang.quanlymuonsach.Model.Models;

public class Controllers {
	Models modObj = new Models();
	
	public void checkInput(Books bookObj){
		modObj.addBooḳ̣̣(bookObj);
	}
	
	public void checkOutput(){
		modObj.showBook();
	}
	
	public void checkInputGuest(Guests guestObj){
		modObj.addGuest(guestObj);
	}
	
	public void checkOutputGuest(){
		modObj.showGuest();
	}
	
	public void checkBorrow(String bookName ,
			String guestName){
		modObj.borrowBook(bookName, guestName);
	}
	
	public void showBorrow(){
		modObj.showBorrow();
	}

}
